//
//  NetworkLoadView.h
//  JiHe
//
//  Created by liuguochao on 16/3/29.
//  Copyright © 2016年 JiHe. All rights reserved.
//

#import <UIKit/UIKit.h>

/**
 *  网络加载等待类型
 */
typedef NS_ENUM(NSUInteger,NetWorkLoadType) {
    NetWorkLoadTypeDefault = 1,
    NetWorkLoadTypeImageAnimation,
    NetWorkLoadTypeImageAnimationAndPromptText,
};

@interface NetworkLoadView : UIView
/**动画数组*/
@property (nonatomic, strong) NSArray                 *imageAnimationArray;
/**activity*/
@property (nonatomic, strong) UIActivityIndicatorView *indicatorView;
/**动画imageView*/
@property (nonatomic, strong) UIImageView             *imageView;
/**当前的网络加载UI*/
@property (nonatomic, assign) NetWorkLoadType         netWorkLoadType;
//加载时文字提示
@property (nonatomic, strong) UILabel                 *promptLabel;


- (void)netLoadIngType:(NetWorkLoadType)netWorkLoadType
     andImageAnimation:(NSArray *)imageAnimationArray
         andPromptText:(NSString *)promptText;


@end
